export default [
  {
    path: "/bsks",
    redirect: "/bsks/bskstools",
    meta: {
      icon: "ri:file-copy-2-fill",
      title: "课设生成",
      rank: 1
    },
    children: [
      {
        path: "/bsks/bskstools", // 相对路径
        name: "BsksTools",
        component: () => import("@/views/tools/BsksTools.vue"),
        meta: {
          title: "课设生成",
          showLink: true
        }
      }
    ]
  },
  {
    path: "/sqlword",
    redirect: "/sql/sqlword",
    meta: {
      icon: "ri:file-copy-2-fill",
      title: "SQL",
      rank: 1
    },
    children: [
      {
        path: "/sql/sqlword", // 相对路径
        name: "SqlWord",
        component: () => import("@/views/tools/SqlWord.vue"),
        meta: {
          title: "SQL转word",
          showLink: true
        }
      }
    ]
  },
  {
    path: "/funcstru",
    redirect: "/fun/funcstru",
    meta: {
      icon: "ri:file-copy-2-fill",
      title: "Fun",
      rank: 1
    },
    children: [
      {
        path: "/fun/funcstru", // 相对路径
        name: "FunctionStructure",
        component: () => import("@/views/tools/FunctionStructure.vue"),
        meta: {
          title: "功能结构图",
          showLink: true
        }
      }
    ]
  },
  {
    path: "/topiclist",
    redirect: "/topics/list",
    meta: {
      icon: "ri:file-list-3-fill",
      title: "选题列表",
      rank: 1
    },
    children: [
      {
        path: "/topics/list", // 相对路径
        name: "TopicList",
        component: () => import("@/views/tools/SelectedTopic.vue"),
        meta: {
          title: "选题列表",
          showLink: true
        }
      }
    ]
  }

] satisfies Array<RouteConfigsTable>;
